local platform = require("utils.platform")()

local options = {
	default_prog = {},
	launch_menu = {},
	window_decorations = {},
	initial_cols = {},
	initial_rows = {},
}

if platform.is_win then
	options.default_prog = { "pwsh", "-Nologo" }
	options.launch_menu = {
		{ label = " PowerShell v1", args = { "powershell" } },
		{ label = " PowerShell v7", args = { "pwsh" } },
		{ label = " Cmd", args = { "cmd" } },
		-- { label = " Nushell", args = { "nu" } },
		-- { label = " GitBash", args = { "C:\\soft\\Git\\bin\\bash.exe" }, },
	}
	options.window_decorations = "NONE"
	options.initial_cols = 120
	options.initial_rows = 30
elseif platform.is_mac then
	options.default_prog = { "/bin/zsh", "--login" }
	options.launch_menu = {
		{ label = " Bash", args = { "bash", "--login" } },
		-- { label = " Fish", args = { "/opt/homebrew/bin/fish", "--login" } },
		-- { label = " Nushell", args = { "/opt/homebrew/bin/nu", "--login" } },
		{ label = " Zsh", args = { "zsh", "--login" } },
	}
	options.window_decorations = "RESIZE | MACOS_FORCE_ENABLE_SHADOW"
	options.initial_cols = 137
	options.initial_rows = 37
elseif platform.is_linux then
	options.default_prog = { "bash", "--login" }
	options.launch_menu = {
		{ label = " Bash", args = { "bash", "--login" } },
		-- { label = " Fish", args = { "/opt/homebrew/bin/fish", "--login" } },
		-- { label = " Nushell", args = { "/opt/homebrew/bin/nu", "--login" } },
		{ label = " Zsh", args = { "zsh", "--login" } },
	}
	options.window_decorations = "NONE"
	options.initial_cols = 120
	options.initial_rows = 30
end

return options
